﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace NetfractionHub.Network.Protocol.UCMD
{
    [global::System.AttributeUsage(AttributeTargets.Class, Inherited = false, AllowMultiple = true)]
    public sealed class UserCommandAttribute : Attribute
    {
        public UserCommandAttribute(string name, Factory.FactoryCMD.ConextTypesEnum context, string message)
            : this(name, context, message, string.Empty)
        {
        }

        public UserCommandAttribute(string name, Factory.FactoryCMD.ConextTypesEnum context, string message, string presentation)
        {
            this.Name = name;
            this.Context = context;
            this.Message = message;
            this.Presentation = presentation;
        }

        public string Name { get; set; }
        public string Message { get; set; }
        public string Presentation { get; set; }
        public Factory.FactoryCMD.ConextTypesEnum Context { get; set; }
    }
}
